package com.telit.common.entity;

import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="地址结果", description="地址结果")
public class AddressResult {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "经纬度")
    private Destination location;

    @ApiModelProperty(value = "序列号")
    private String uid;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "县区")
    private String district;

    @ApiModelProperty(value = "商圈")
    private String business;

    @ApiModelProperty(value = "百度城市编码")
    private String cityid;

    @ApiModelProperty(value = "分类")
    private String tag;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "子点")
//    private SubAddress children;
    private JSONArray children;

    @ApiModelProperty(value = "行政区划代码")
    private String adcode;
}
